package com.hebeu.group.util;

import java.util.Calendar;
import java.util.Date;

public class DateUtils {

    public static boolean after(Date date1, Date date2){
        Calendar c1 = Calendar.getInstance();
        c1.setTime(date1);
        Calendar c2 = Calendar.getInstance();
        c2.setTime(date2);
        return c2.after(c1);
    }

}
